<?php
/**
 * @TABLE "user_extra"
 * @JOIN_FROM "user_id < user.id"
 */
class BaseUserExtra extends Abstract_PluginEntityManager_Entity
{
	/**
	 * @PRIMARY
	 * @COLUMN "id"
	 * @TYPE "int"
	 * @LENGTH "10"
	 * @NOT_NULL
	 * @AUTO_INCREMENT
	 */
	public $id;

	/**
	 * @COLUMN "user_id"
	 * @TYPE "int"
	 * @LENGTH "10"
	 * @NOT_NULL
	 */
	public $user_id;

	/**
	 * @COLUMN "sex"
	 * @TYPE "enum"
	 * @LENGTH "'M','F','U'"
	 * @NOT_NULL
	 * @DEFAULT "U"
	 */
	public $sex;

	/**
	 * @COLUMN "birthday"
	 * @TYPE "date"
	 * @NOT_NULL
	 */
	public $birthday;

	/**
	 * @COLUMN "about_me"
	 * @TYPE "varchar"
	 * @LENGTH "1024"
	 */
	public $about_me;

	/**
	 * @COLUMN "number_dogs"
	 * @TYPE "tinyint"
	 * @LENGTH "3"
	 * @NOT_NULL
	 * @DEFAULT "0"
	 */
	public $number_dogs;

	/**
	 * @COLUMN "number_cats"
	 * @TYPE "tinyint"
	 * @LENGTH "3"
	 * @NOT_NULL
	 * @DEFAULT "0"
	 */
	public $number_cats;

	/**
	 * @COLUMN "number_birds"
	 * @TYPE "tinyint"
	 * @LENGTH "3"
	 * @NOT_NULL
	 * @DEFAULT "0"
	 */
	public $number_birds;

	/**
	 * @COLUMN "other_pets"
	 * @TYPE "tinyint"
	 * @LENGTH "3"
	 * @NOT_NULL
	 * @DEFAULT "0"
	 */
	public $other_pets;

	/**
	 * @COLUMN "authorisation_service"
	 * @TYPE "tinyint"
	 * @LENGTH "3"
	 * @NOT_NULL
	 * @DEFAULT "0"
	 */
	public $authorisation_service;

	/**
	 * @COLUMN "authorisation_policy"
	 * @TYPE "tinyint"
	 * @LENGTH "3"
	 * @NOT_NULL
	 * @DEFAULT "0"
	 */
	public $authorisation_policy;

	/**
	 * @COLUMN "newsletter"
	 * @TYPE "tinyint"
	 * @LENGTH "3"
	 * @NOT_NULL
	 * @DEFAULT "0"
	 */
	public $newsletter;

	/**
	 * @COLUMN "notify_follow"
	 * @TYPE "tinyint"
	 * @LENGTH "3"
	 * @NOT_NULL
	 * @DEFAULT "1"
	 */
	public $notify_follow;

	/**
	 * @COLUMN "notify_comment"
	 * @TYPE "tinyint"
	 * @LENGTH "3"
	 * @NOT_NULL
	 * @DEFAULT "1"
	 */
	public $notify_comment;

	/**
	 * @COLUMN "notify_message"
	 * @TYPE "tinyint"
	 * @LENGTH "3"
	 * @NOT_NULL
	 * @DEFAULT "1"
	 */
	public $notify_message;

	/**
	 * @COLUMN "notify_upload_success"
	 * @TYPE "tinyint"
	 * @LENGTH "3"
	 * @NOT_NULL
	 * @DEFAULT "1"
	 */
	public $notify_upload_success;

	/**
	 * @COLUMN "notify_upload_failed"
	 * @TYPE "tinyint"
	 * @LENGTH "3"
	 * @NOT_NULL
	 * @DEFAULT "1"
	 */
	public $notify_upload_failed;

	/**
	 * @COLUMN "notify_compliment_pet"
	 * @TYPE "tinyint"
	 * @LENGTH "3"
	 * @NOT_NULL
	 * @DEFAULT "1"
	 */
	public $notify_compliment_pet;

	/**
	 * @COLUMN "notify_subscribe_my_group"
	 * @TYPE "tinyint"
	 * @LENGTH "3"
	 * @NOT_NULL
	 * @DEFAULT "1"
	 */
	public $notify_subscribe_my_group;

	/**
	 * @COLUMN "notify_activity_my_group"
	 * @TYPE "tinyint"
	 * @LENGTH "3"
	 * @NOT_NULL
	 * @DEFAULT "1"
	 */
	public $notify_activity_my_group;

	/**
	 * @COLUMN "notify_friends_subscribe_group"
	 * @TYPE "tinyint"
	 * @LENGTH "3"
	 * @NOT_NULL
	 * @DEFAULT "1"
	 */
	public $notify_friends_subscribe_group;

	/**
	 * @COLUMN "notify_open_discussion_in_a_group"
	 * @TYPE "tinyint"
	 * @LENGTH "3"
	 * @NOT_NULL
	 * @DEFAULT "1"
	 */
	public $notify_open_discussion_in_a_group;

	/**
	 * @COLUMN "notify_comment_my_discussion"
	 * @TYPE "tinyint"
	 * @LENGTH "3"
	 * @NOT_NULL
	 * @DEFAULT "1"
	 */
	public $notify_comment_my_discussion;

	/**
	 * @COLUMN "fb_id"
	 * @TYPE "varchar"
	 * @LENGTH "16"
	 */
	public $fb_id;

	/**
	 * @COLUMN "fb_token"
	 * @TYPE "varchar"
	 * @LENGTH "128"
	 */
	public $fb_token;

	/**
	 * @COLUMN "deactivate_token"
	 * @TYPE "varchar"
	 * @LENGTH "32"
	 */
	public $deactivate_token;

	/**
	 * @COLUMN "landing_id"
	 * @TYPE "int"
	 * @LENGTH "10"
	 */
	public $landing_id;

	/**
	 * @COLUMN "notes"
	 * @TYPE "varchar"
	 * @LENGTH "512"
	 */
	public $notes;
}
?>